import request from '@/utils/request'

// 查询回复点赞列表
export function listReplyLike(query) {
  return request({
    url: '/product/replyLike/list',
    method: 'get',
    params: query
  })
}

// 查询回复点赞详细
export function getReplyLike(id) {
  return request({
    url: '/product/replyLike/' + id,
    method: 'get'
  })
}

// 新增回复点赞
export function addReplyLike(data) {
  return request({
    url: '/product/replyLike',
    method: 'post',
    data: data
  })
}

// 修改回复点赞
export function updateReplyLike(data) {
  return request({
    url: '/product/replyLike',
    method: 'put',
    data: data
  })
}

// 删除回复点赞
export function delReplyLike(id) {
  return request({
    url: '/product/replyLike/' + id,
    method: 'delete'
  })
}

// 查询用户列表
export function listUser() {
  return request({
    url: '/system/user/list',
    method: 'get',
  })
}
